<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@1.6/lib/index.css">
		<script src="html5plus://ready"></script>
		<!-- 引入组件 -->
		<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>
		<script src="https://cdn.jsdelivr.net/npm/vant@1.6/lib/vant.min.js"></script>
	</head>
	<body>

		<div id="app">
			<button @click="cc">dianji</button>
			主页
		</div>
		<script>
			var vm = new Vue({
				el: "#app",
				created:function() {
					document.addEventListener('plusready', function() {
						var wv = plus.webview.currentWebview("cc.html","cc");
					})
				},
				methods: {
					cc: function() {
						
						plus.webview.close("cc");
					}
				}

			})
		</script>
	</body>
</html>
